const http = require("./http");
class MusicHttp extends http{
  static getBannerMusicHttp(){
    return this.request("3000/banner")
  }
  static getHotMusicHttp(){
    return this.request("3000/top/playlist/highquallity")
  }
  static getDjMusicHttp(){
    return this.request("3000/personalized/djprogram")
  }
  static getNewMusicHttp(){
    return this.request("3000/album/newest")
  }
  static getSearchMusicHttp(id){
    return this.request(`3000/search?keywords=${id}`)
  }
  static getSearchSongMusicHttp(id){
    return this.request(`3000/song/detail?ids=${id}`)
  }
  static getDetailMusicHttp(id){
    return this.request(`3000/playlist/detail?id=${id}`)
  }
  static getSongMusicHttp(id){
    return this.request(`3000/song/url?id=${id}`)
  }
  static getCityMusicHttp(){
    return this.request("8000/city")   
  }
  static getHttp(url){
    return this.request(`${url}`)   
  }
}
module.exports = MusicHttp;